
<?php foreach($this->data as $item) { ?>
<tr class="tblSkinRow" id="item-<?php echo $item['id']?>">
    <td align="center"><input type="checkbox" data-id='<?php echo $item['id'];?>' class='checkbox'/></td>
    <td align="center"><?php echo $item['id'];?></td>
    <td>
        <a title="<?php echo $item['title']; ?>" href="/admin/slideshow/edit/id/<?php echo $item['id']; ?>">
            <img style='width:65px;' class="img-pro" src="<?php echo UPLOAD_URL.'/slideshow/'.$item['image'];?>" />
        </a>
    </td>
    
    <td><?php echo $item['title'];?></td>
   
 	<td><?php echo $this->type[$item['type']];?></td>
 	<td><?php echo $item['website'];?></td>
    <td align="center">
        <input name="" type="text" class='txtOrder' data-id="<?php echo $item['id']; ?>" value="<?php echo $item['weight']; ?>" style="width:80%;" />
    </td>
    <?php
		if ($item['status'] == 1) {
			echo '<td class="hidden-xs"><span class="label label-sm label-success status" data-id="'.$this->id.'" data-value="0">Hiện</span></td>';
		} else {
			echo '<td class="hidden-xs"><span class="label label-sm label-danger status" data-id="'.$this->id.'" data-value="1">Ẩn</span></td>';
		}
	?>
	
	<td class="center">
		<div class="visible-md visible-lg hidden-sm hidden-xs">
			<a href="/admin/slideshow/edit/id/<?php echo $item['id'];?>" class="btn btn-xs btn-teal tooltips" data-placement="top" data-original-title="Sửa"><i class="icon-edit"></i></a> 			
			<a class="btn btn-xs btn-bricky tooltips delete-slideshow" data-id='<?php echo $item['id'];?>' data-placement="top" data-original-title="Xoá"><i class="icon-remove icon-white"></i></a>
		</div>		
	</td>

</tr> 
<?php }?>